package com.effectivsocial.domain;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;



@ToString
public class Lov implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Getter @Setter
	private String id;
	
	@Getter @Setter
	private String name;
	
	@Getter @Setter
	private String type;
	
	
	@Getter @Setter
	private boolean deleted;
	
	
	@Override
	public int hashCode() {
		return id.hashCode();
	}

	
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof Lov)) {
			return false;
		}
		Lov other = (Lov) obj;
		return getId().equals(other.getId());
	}
	
	
	
	
}